# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=clatd
pkgver=1.6
pkgrel=0
pkgdesc="A 464XLAT CLAT implementation for Linux"
url="https://github.com/toreanderson/clatd"
arch="noarch"
license="MIT"
depends="
	perl
	perl-io-socket-ip
	perl-net-dns
	perl-net-ip
	tayga
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/toreanderson/clatd/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # no checks

package() {
	install -Dm755 clatd "$pkgdir/usr/bin/clatd"
	install -Dm755 scripts/clatd.networkmanager "$pkgdir/etc/NetworkManager/dispatcher.d/50-clatd"
}

sha512sums="
606d579fb658cca7f9d0dddf9c49671e4b2774aafb1200e9bdd95964e5bd7bb33f313d340ac24a556f97d253b13a0498056b3b971bfb7c9119d3223f90031d74  clatd-1.6.tar.gz
"
